const internal/runtime/maps.maxTableCapacity
10 uses
internal/runtime/maps (current package)
map.go#L298: dirSize := (uint64(targetCapacity) + maxTableCapacity - 1) / maxTableCapacity
map.go#L305: groups, overflow := math.MulUintptr(uintptr(dirSize), maxTableCapacity)
table.go#L19: const maxTableCapacity = 1024
table.go#L23: var _ = uint16(maxTableCapacity)
table.go#L83: if capacity > maxTableCapacity {
table.go#L517: var needed [(maxTableCapacity/abi.MapGroupSlots + 31) / 32]uint32
table.go#L1162: if newCapacity <= maxTableCapacity {
table.go#L1184: left := newTable(typ, maxTableCapacity, -1, localDepth)
table.go#L1185: right := newTable(typ, maxTableCapacity, -1, localDepth)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |